using System.Windows;
using CodRevit.ViewModels;

namespace CodRevit.Views
{
    /// <summary>
    /// ChangeCategoryView.xaml 的交互逻辑
    /// </summary>
    public partial class ChangeCategoryView : Window
    {
        public ChangeCategoryView()
        {
            InitializeComponent();
        }

        public ChangeCategoryView(ChangeCategoryViewModel viewModel) : this()
        {
            DataContext = viewModel;
        }

        private void CloseButton_Click(object sender, RoutedEventArgs e)
        {
            Close();
        }
    }
}